<?xml version="1.0" encoding="utf-8"?>

<!--
SPDX-FileCopyrightText: Adam Evyčędo

SPDX-License-Identifier: GPL-3.0-or-later
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:app="http://schemas.android.com/apk/res-auto"
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	android:paddingTop="24dp"
	android:orientation="vertical">

	<com.google.android.material.imageview.ShapeableImageView
		android:id="@+id/avatar"
		android:layout_width="64dp"
		android:layout_height="64dp"
		android:layout_marginStart="24dp"
		android:layout_marginTop="24dp"
		android:layout_marginEnd="24dp"
		android:background="@color/bimba_grey"
		app:layout_constraintEnd_toEndOf="parent"
		app:layout_constraintStart_toStartOf="parent"
		app:layout_constraintTop_toTopOf="parent"
		app:shapeAppearanceOverlay="@style/roundedImageView"
		app:srcCompat="@drawable/avatar_anonymous" />

	<TextView
		android:id="@+id/display_name"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginStart="24dp"
		android:layout_marginTop="16dp"
		android:layout_marginEnd="24dp"
		android:text="@string/anonymous_display_name"
		android:textAppearance="?attr/textAppearanceHeadlineSmall"
		android:textColor="?attr/colorOnSurface" />

	<TextView
		android:visibility="gone"
		android:id="@+id/sub_header"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginStart="24dp"
		android:layout_marginEnd="24dp"
		android:layout_marginBottom="24dp"
		android:text="@string/anonymous_sub_header"
		android:textAppearance="?attr/textAppearanceTitleSmall"
		android:textColor="?attr/colorOnSurfaceVariant" />

</LinearLayout>